package com.atguigu.pojo;

import com.atguigu.Utils.BaseContext;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @TableName address_book
 */
@TableName(value ="address_book")
@Data
public class AddressBook implements Serializable {
    private Long id;

    private Long userId;

    private String consignee;

    private Integer sex;

    private String phone;

    private String provinceCode;

    private String provinceName;

    private String cityCode;

    private String cityName;

    private String districtCode;

    private String districtName;

    private String detail;

    private String label;

    private Integer isDefault;

    private Date createTime=new Date();

    private Date updateTime=new Date();

    private Long createUser;

    private Long updateUser;

    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}